print("Example script mage_fire.lua.");
------------------------------------------------------------------------------------
local scheme = ut.newSpellQueue()
scheme.add('炎爆术', 'target', function ()
	local name, rank, icon, castTime = GetSpellInfo('炎爆术')
	return castTime == 0	
end)
scheme.add('炼狱冲击', 'target', function()
	return getBuffRemianTime('player','热力迸发') > 0
end)
scheme.add('活动炸弹', 'target', function( )
	return getDebuffRemainTime( 'target', '活动炸弹' ) == 0
end)
scheme.add('火球术', 'target', function( )
	-- body
	return GetUnitSpeed('player') == 0
end)
scheme.add('灼烧', 'target')


editWowMacro('炎爆术', [[
#showtooltip 炎爆术
-- /run s.sf('炎爆术', 'target')
]])

editWowMacro('龙息术', [[
#showtooltip 龙息术
-- /run s.sf('龙息术')
]])

editWowMacro('attack', [[
-- #showtooltip 龙息术
/run s.cast()
]])


return scheme
